/**
 * @author liaosh
 * @date 2022-10-15 22:27
 */
public abstract class Manager {
    String name;

    /**
     * 上级领导
     * 设置一个处理请求的继任者
     */
    Manager superior;

    public void setSuperior(Manager superior) {
        this.superior = superior;
    }

    public abstract void handleRequest(Request request);
}
